<div class="container">
    <div class="row">
        <div class="col-sm-12">
            <h3 style="margin:0px 0 20px;">基本信息</h3>
        </div>
    </div>
    <div class="row">
        <div class="col-sm-3">
            <div class="form-group">
                <label>订单号</label>
                <div><$=order.no $></div>
            </div>
        </div>
        <div class="col-sm-3">
            <div class="form-group">
                <label>订单状态 / 付款状态</label>
                <div><$=order.statusLabel $> / <$=order.payStatusLabel $></div>
            </div>
        </div>
        <div class="col-sm-3">
            <div class="form-group">
                <label>数量 / 应付 / 实付</label>
                <div><$=order.number $> / <$=order.total $> / <$=order.actualTotal $></div>
            </div>
        </div>
        <div class="col-sm-3">
            <div class="form-group">
                <label>下单时间</label>
                <div><$=formatTime(order.createAt) $></div>
            </div>
        </div>
        <div class="clearfix"></div>
        <div class="col-sm-3">
            <div class="form-group">
                <label>订单备注</label>
                <div><$=typeof order.remark!='undefined'?order.remark:'' $></div>
            </div>
        </div>
        <div class="col-sm-3">
            <div class="form-group">
                <label>下单人信息</label>
                <div class="label-shop-no"><$=order.address $></div>
            </div>
        </div>
        <div class="col-sm-3">
            <div class="form-group">
            </div>
        </div>
    </div>
    <hr>
    <div class="row">
        <$ orderItems.map(function(item){ $>
        <div class="col-sm-3">
            <div class="form-group">
                <div>
                    <img
                            style="width: 120px;border-radius: 8px;"
                            src="<$=item.thumbnail $>"
                            alt=""
                    >
                </div>
            </div>
        </div>
        <div class="col-sm-3">
            <div class="form-group">
                <label>商品名称</label>
                <div><$=item.name $></div>
                <div><$=item.desc1 $></div>
            </div>
        </div>
        <div class="col-sm-3">
            <div class="form-group">
                <label>数量 / 单价 / 合计</label>
                <div><$=item.number $> / <$=item.price $> / <$=floatTool.multiply(item.price,item.number) $></div>
            </div>
        </div>
        <div class="col-sm-3">

        </div>
        <div class="clearfix"></div>
        <$}) $>
    </div>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <div class="row form-submit">
        <div class="col-sm-12">
            <div class="form-group">
                <label>操作</label>
                <div>
                    <!--材料准备阶段2-材料提交阶段3，国家审核中4-出证5/驳回6-完成8-->
                    <$if(order.payStatus==1&&order.status!='1'&&order.status!='0'&&order.status!='-1'&&order.status!='8'){$>
                    <a href="javascript:void(0);" data-status="2" class="btn  btn<$=order.status==2?'':'-outline'$>-warning btn-work " >材料准备阶段</a>
                    <a href="javascript:void(0);" data-status="3" class="btn  btn<$=order.status==3?'':'-outline'$>-warning btn-work ">材料提交阶段</a>
                    <a href="javascript:void(0);" data-status="4" class="btn  btn<$=order.status==4?'':'-outline'$>-warning btn-work ">国家审核中</a>
                    <a href="javascript:void(0);" data-status="5" class="btn  btn<$=order.status==5?'':'-outline'$>-warning btn-work ">出证</a>
                    <a href="javascript:void(0);" data-status="6" class="btn  btn<$=order.status==6?'':'-outline'$>-warning btn-work ">驳回</a>
                    <a href="javascript:void(0);" data-status="8" class="btn  btn<$=order.status==8?'':'-outline'$>-warning btn-work ">完成</a>
                    <$}else if(order.payStatus==1&&order.status==8){ $>

                    <$}else if(order.payStatus=='1'){ $>
                    <a href="javascript:void(0);" class="btn  btn-danger btn-cancel ">取消订单</a>
                    <a href="javascript:void(0);" class="btn  btn-success  btn-begin">开始申请</a>
                    <$}else{ $>
                        订单尚未付款，不能操作
                    <$}$>

                </div>
            </div>
        </div>

    </div>
</div>